// Lab2_1_myPractice.cpp : Defines the entry point for the application.
//

#include "stdafx.h"
#include "GameApp.h"
#include <stdexcept>
#include <string>


int WINAPI WinMain(HINSTANCE hInstance,
                   HINSTANCE hPrevInstance,
                   LPSTR    lpCmdLine,
                   int       nCmdShow)
{
	UNREFERENCED_PARAMETER(hPrevInstance);
	UNREFERENCED_PARAMETER(lpCmdLine);

   try
   {
      CGameApp gameApp(hInstance, nCmdShow);
 	   gameApp.beginGame();
   }
   catch(std::exception ex)
   {
      MessageBoxA(NULL, ex.what(), "EXCEPTION", MB_OK | MB_ICONEXCLAMATION);
   }

	return 0;
}

